from rest_framework.serializers import ModelSerializer
from .models import Banner

class Bannerserializer(ModelSerializer):
    class Meta:
        model = Banner
        fields = ['title', 'image', 'link']
